package com.koron.order.maintain.feign;

import com.koron.bean.base.Response;
import com.koron.bean.standard.jobStock.maintain.dto.MaintainDTO;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName MaintainStandController
 * @description
 * @Author zhouj
 * @Date 2021/9/24 16:29
 */
@FeignClient(value = "eam-service-standard", fallbackFactory = FeignFallbackFactory.class)
public interface MaintainStandService {

    @GetMapping("/maintain")
    Response<MaintainDTO> select(@RequestParam("id") String id);

}
